{% load i18n %}
{% load contenttypes %}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}">
	<head>
		<title>DEMO - {% block title %}{{ BLOCKS_TITLE|upper }}{% endblock %}</title>
		<link rel="stylesheet" type="text/css" media="screen, projection" href="/media/css/reset.css" />
		<link rel="stylesheet" type="text/css" media="screen, projection" href="/media/css/grid.css" />
		<link rel="stylesheet" type="text/css" media="screen, projection" href="/media/css/typography.css" />
		<link rel="stylesheet" type="text/css" media="screen, projection" href="/media/css/site.css" />
		<!--[if IE]><link rel="stylesheet" type="text/css" media="screen, projection" href="/media/css/ie.css" /><![endif]-->
		<link rel="stylesheet" type="text/css" media="print" href="/media/css/print.css" />				
		<!--[if gte IE 5.5]><![if lt IE 7]>
		<script type="text/javascript" src="/media/js/iepngfix.js"></script>
		<style type="text/css">
			.iepngfix { behavior: expression(IEPNGFIX.fix(this)); }
			img { behavior: expression(IEPNGFIX.fix(this)); }
			div#content, div#header { width: 950px; }
		</style>
		<![endif]><![endif]-->
		<script type="text/javascript" src="/media/js/jquery.js"></script>
		{% block extrastyle %}{% endblock %}
		{% block extrahead %}{% endblock %}
		{% block blockbots %}{% endblock %}
		
		<link rel="alternate" type="application/rss+xml" title="{% trans 'LINUX.PT News Articles list' %}" href="/rss/news/" />
	</head>

	<body class="{% block class %}home{% endblock %}">
	
		<div id="container">

			<div id="header" class="last">
			
				<div id="head">
					<div id="logo">
						<a href="/"><img id="sitelogo" src="/media/img/logo.png" width="180" height="45" alt="site logo"/></a>
					</div>
					<div class="top">
                        <div id="language">
                            <form action="/i18n/setlang/" method="post">
                            	<input type="hidden" name="language" value="pt" />
                                <input type="image" src="/media/img/flags/pt.png" width="18" height="12" />
                            </form>
                            <form action="/i18n/setlang/" method="post">
                            	<input type="hidden" name="language" value="en" />
                                <input type="image" src="/media/img/flags/en.png" width="18" height="12" />
                            </form>
                        </div>
					</div>
				</div>
				
				<div id="mainmenu" class="menu">
					{% show_menu 'primary' %}
				</div>
				
				{% ifequal BLOCKS_URL "/" %}
				<div id="heading">
				</div>
				{% endifequal %}
			</div>
				
			<div id="content" class="last">
				{% block body %}no content{% endblock %}
				<div class="clear"></div>
			</div>
			
			<div id="spacer" class="last">
			</div>
			
			<div id="footer" class="last">
				<div class="partners">
					...
				</div>
				<div class="copy">
					<p class="credits">
						Design by <a title="Designer" href="mailto:kimus.linuxus@gmail.com">kimus</a> |
						Powered by <a title="django blocks" href="http://code.google.com/p/django-blocks/">Django Blocks</a> |
						<a title="Validate XHTML code" href="http://validator.w3.org/check?uri=referer">W3C XHTML 1.0</a> |
						<a title="Validate CSS code" href="http://jigsaw.w3.org/css-validator/">W3C CSS 2.0</a>
					</p>
				</div>
			</div>
		</div>
	
	</body>
</html>
